package eva.savant.core.servlet;

import java.io.*;
import java.text.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class TimeServlet extends HttpServlet implements Servlet {

    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

        PrintWriter out = response.getWriter();
        
        out.print(formatter.format(new java.util.Date()));
    }

}